//
//  CommuniqueController.h
//  Communique
//
//  Created by Thomas on 22/08/2008.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class TerminalWindow, Bookmark;

@interface CommuniqueController : NSObject {
	NSMutableArray *	_bookmarks;
	NSMenu*				_dockMenu;
	NSStatusItem*		_statusItem;
    NSImage*			_statusImage;
    NSImage*			_statusHighlightImage;	
	
	TerminalWindow *	_currentTerminalWindow;
	NSMutableArray *	_windows; 
	
    IBOutlet id			bookmarksTable;
    IBOutlet NSWindow	*_bookmarksWindow;
}

- (NSMutableArray *) bookmarks; 
- (void) setBookmarks: (NSArray *)newBookmarks;
- (NSString *) pathForDataFile;
- (void) saveDataToDisk;
- (void) loadDataFromDisk;
- (void) createStatusItem;
- (void) updateMenus;

- (IBAction)newWindow:(id)sender;
- (IBAction)launchSSH:(id)sender;
- (IBAction)dockMenuBookmark:(id)sender;
- (IBAction)dockMenuManageBookmarks:(id)sender;

@end
